package com.googlecode.simplecrud.dao.dataobject;

import java.util.Date;

import com.googlecode.simplecrud.annotations.Column;
import com.googlecode.simplecrud.annotations.Entity;

/**
 * StudentObject
 */
@Entity(name = "student")
public class StudentObject
{

	/** sid */
	private static final long serialVersionUID = 9999880680821421L;

	/** represents student.DESCRIPTION */
	@Column(name = "DESCRIPTION")
	private String details;

	/** represents student.AUDIT_TIME */
	@Column(name = "AUDIT_TIME")
	private Date auditTime;

	/** represents student.BIRTH_DATE */
	@Column(name = "BIRTH_DATE")
	private Date birthDate;

	/** represents student.ROOM_NO */
	@Column(name = "ROOM_NO")
	private String roomNo;

	/** represents student.ID */
	@Column(name = "ID", primaryKey = true)
	private Integer studentId;

	/** represents student.PHOTO */
	@Column(name = "PHOTO")
	private byte[] image;

	/**
	 * @return details
	 */
	public String getDetails()
	{
		return details;
	}

	/**
	 * @param details
	 *            - the details to set
	 */
	public void setDetails(String details)
	{
		this.details = details;
	}

	/**
	 * @return auditTime
	 */
	public Date getAuditTime()
	{
		return auditTime;
	}

	/**
	 * @param auditTime
	 *            - the auditTime to set
	 */
	public void setAuditTime(Date auditTime)
	{
		this.auditTime = auditTime;
	}

	/**
	 * @return birthDate
	 */
	public Date getBirthDate()
	{
		return birthDate;
	}

	/**
	 * @param birthDate
	 *            - the birthDate to set
	 */
	public void setBirthDate(Date birthDate)
	{
		this.birthDate = birthDate;
	}

	/**
	 * @return roomNo
	 */
	public String getRoomNo()
	{
		return roomNo;
	}

	/**
	 * @param roomNo
	 *            - the roomNo to set
	 */
	public void setRoomNo(String roomNo)
	{
		this.roomNo = roomNo;
	}

	/**
	 * @return studentId
	 */
	public Integer getStudentId()
	{
		return studentId;
	}

	/**
	 * @param studentId
	 *            - the studentId to set
	 */
	public void setStudentId(Integer studentId)
	{
		this.studentId = studentId;
	}

	/**
	 * @return image
	 */
	public byte[] getImage()
	{
		return image;
	}

	/**
	 * @param image
	 *            - the image to set
	 */
	public void setImage(byte[] image)
	{
		this.image = image;
	}

}
